package com.daikit.daikit4gxt.client.ui.columnconfig;

import com.daikit.daikit4gxt.client.DkBaseMain;
import com.sencha.gxt.core.client.ValueProvider;
import com.sencha.gxt.data.shared.ListStore;


/**
 * Column config for move up action
 *
 * @author tcaselli
 * @version $Revision$ Last modifier: $Author$ Last commit: $Date$
 * @param <MODEL_TYPE>
 * @param <ACTION_RETURN_TYPE>
 *           action return type
 */
public abstract class DkMoveUpColumnConfig<MODEL_TYPE, ACTION_RETURN_TYPE> extends DkRunActionColumnConfig<MODEL_TYPE, ACTION_RETURN_TYPE>
{

	/**
	 * Constructor
	 *
	 * @param valueProvider
	 *           the {@link ValueProvider}
	 * @param beanLabel
	 *           the bean label
	 * @param listStore
	 *           the {@link ListStore}
	 */
	public DkMoveUpColumnConfig(final ValueProvider<? super MODEL_TYPE, String> valueProvider, final String beanLabel, final ListStore<MODEL_TYPE> listStore)
	{
		super(valueProvider, DkBaseMain.icons().up_16(), DkBaseMain.i18n().button_moveup_tooltip(beanLabel), DkBaseMain.i18n().action_moveup_loading_label(),
				listStore);
	}

}
